<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        var map=new Map();
        map.set("age",20);
        map.set([1],{name:"刘德华"});
        map.set(true,{name:"周杰伦"});
        console.log(map);

        map.delete(true);
        console.log(map);

        // console.log(map.clear());

        console.log(map.has(true));
    </script>
</body>
</html>